home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacTech 1 to 12
/
MacTech-vol-1-12.toast
/
Source
/
MacTech® Magazine
/
Volume 13 - 1997 (partial)
/
13.03 Mar 97
/
Challenge Solution, Tangrams
/
Debug.h
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1996-12-08
|
356 b
|
26 lines
|
[
TEXT/R*ch
]
#ifndef __DEBUG__
#define __DEBUG__
void _Assert(const Boolean condition, ConstStr255Param msg);
void _MyError(ConstStr255Param msg);
#ifdef DEBUG
#define Assert(c, msg) _Assert (c, msg);
#define MyError(msg) _MyError (msg);
#else
#define Assert(c, msg) { /* Nothing */ }
#define MyError(msg) ExitToShell();
#endif
#endif